﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PoemGame.Domain.Services
{
    /// <summary>
    /// 回答正确判断服务
    /// 检查游戏创建是否合法以及回答是否正确
    /// </summary>
    public interface ICheckAnswerService : IDomainService
    {
        /// <summary>
        /// 判断回答是否正确
        /// </summary>
        /// <param name="game"></param>
        /// <param name="answer"></param>
        /// <returns></returns>
        Task<bool> CheckAnswer(CheckAnswerServiceInput game, string answer);

    }
}
